package com.ruoyi.system.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.context.annotation.Primary;
import org.springframework.data.annotation.Id;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author kenny
 * @since 2021-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private Long pid;

    /**
     * 层级
     */
    private Integer deep;

    /**
     * 名称
     */
    private String name;

    /**
     * 拼音前缀
     */
    private String pinyinPrefix;

    /**
     * 拼音
     */
    private String pinyin;

    /**
     * 备注名
     */
    private String extId;

    /**
     * 备注名
     */
    private String extName;

    /**
     * 所属店铺
     */
    private Integer storeId;


}
